package com.ztjava.member.validator;

import com.jfinal.core.Controller;
import com.ztjava.core.base.BaseValidator;

public class LoginValidator extends BaseValidator{

	@Override
	protected void validate(Controller c) {
		setShortCircuit(true);
		validateRequired("username", message, "请输入用户名！");
		validateRequired("password", message, "请输入密码！");
	}

}
